home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / dev / lang / jikes-diffs.lha / jikes-diffs
Encoding:
Text File  |  2000-09-06  |  57.1 KB  |  1,893 lines

  1. diff -u -r -N jikes-1.12.orig/README.AMIGA jikes-1.12/README.AMIGA
  2. --- jikes-1.12.orig/README.AMIGA    Thu Jan  1 02:00:00 1970
  3. +++ jikes-1.12/README.AMIGA    Tue Sep  5 19:56:04 2000
  4. @@ -0,0 +1,59 @@
  5. +This is the source of the native Amiga port (no ixemul.library required)
  6. +of jikes, the free Java compiler from IBM.
  7. +
  8. +The distinction between stable and development version has been
  9. +dropped, so the Aminet version is the latest version.  The relevant
  10. +files can also be downloaded from the Amiga Jikes home page at
  11. +http://dias.cti.gr/~kyrimis/jikes/ .
  12. +
  13. +To build jikes on the Amiga, you need:
  14. +* A wide character library (e.g., the simple wchar library that I have
  15. +  extracted from the Jikes source, available at both Aminet and the Amiga
  16. +  Jikes web site).
  17. +* If you want to enable support for the "-encoding" option, then you must
  18. +  also install ICU, IBM's International Classes for Unicode. (This
  19. +  library also requires a wide character library, which is the reason
  20. +  why the Jikes wide character code cannot be used in place.)
  21. +
  22. +To build, copy the files in the amiga directory to the corresponding
  23. +places in the top level jikes directory (e.g., Makefile to Makefile,
  24. +amiga/src/Makefile to src/Makefile, etc.), edit src/Makefile if you want
  25. +to change the default CFLAGS, CXXFLAGS, LDFLAGS, and the installation
  26. +prefix, then type "make". If you want to turn off support for "-encoding",
  27. +edit src/config.h and undefine the HAVE_LIB_ICU_UC symbol, and also
  28. +remove -licu-uc  from LIBS in src/Makefile.
  29. +
  30. +If you want to increase the optimization level, note that using -O2
  31. +will produce a binary that is about a megabyte larger, and the resulting
  32. +gains in compilation time will be overwhelmed by the additional loading
  33. +time. Also note that you will need at least 70M of memory to compile
  34. +jikes with -O2, i.e., you will most likely need to use VMM, and that on
  35. +a 68040@28MHz it takes about a day to produce the optimized binary. In
  36. +other words, don't bother.
  37. +
  38. +If you prefer to run "configure" manually, you will have to tweak the
  39. +created files manually, using the files in the amiga folder as a guide.
  40. +
  41. +INSTALLATION:
  42. +Simply copy the jikes executable somewhere in your path.
  43. +
  44. +USAGE:
  45. +Set either the CLASSPATH or the JIKESPATH environment variable to point
  46. +to the directories and zip/jar files that you want your compiler to use.
  47. +E.g., if you are using Kaffe, you can say:
  48. +setenv CLASSPATH "GG:share/kaffe/Klasses.jar;GG:share/kaffe/Pizza.jar;."
  49. +Separate the path components using semicolons. You can use UNIX "." and ".."
  50. +notation for the current directory and for the parent directory of a
  51. +directory.
  52. +
  53. +If you find a bug in the Amiga port, you can contact me at kyrimis@cti.gr
  54. +and I'll see what I can do.
  55. +
  56. +Kriton Kyrimis.
  57. +
  58. +******************************************************************************
  59. +This software is subject to the terms of the IBM Public License, available
  60. +at the following URL: http://www.research.com/jikes/license/license3.htm.
  61. +Copyright (C) 1996, 2000 International Business Machines Corporation
  62. +and others.  All Rights Reserved.
  63. +******************************************************************************
  64. diff -u -r -N jikes-1.12.orig/amiga/Makefile jikes-1.12/amiga/Makefile
  65. --- jikes-1.12.orig/amiga/Makefile    Thu Jan  1 02:00:00 1970
  66. +++ jikes-1.12/amiga/Makefile    Sun Sep  3 20:33:50 2000
  67. @@ -0,0 +1,351 @@
  68. +# Makefile.in generated automatically by automake 1.4a from Makefile.am
  69. +
  70. +# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
  71. +# This Makefile.in is free software; the Free Software Foundation
  72. +# gives unlimited permission to copy and/or distribute it,
  73. +# with or without modifications, as long as this notice is preserved.
  74. +
  75. +# This program is distributed in the hope that it will be useful,
  76. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  77. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  78. +# PARTICULAR PURPOSE.
  79. +
  80. +SHELL = /bin/sh
  81. +
  82. +srcdir = .
  83. +top_srcdir = .
  84. +prefix = /gg
  85. +exec_prefix = ${prefix}
  86. +
  87. +bindir = ${exec_prefix}/bin
  88. +sbindir = ${exec_prefix}/sbin
  89. +libexecdir = ${exec_prefix}/libexec
  90. +datadir = ${prefix}/share
  91. +sysconfdir = ${prefix}/etc
  92. +sharedstatedir = ${prefix}/com
  93. +localstatedir = ${prefix}/var
  94. +libdir = ${exec_prefix}/lib
  95. +infodir = ${prefix}/info
  96. +mandir = ${prefix}/man
  97. +includedir = ${prefix}/include
  98. +oldincludedir = /usr/include
  99. +
  100. +pkgdatadir = $(datadir)/jikes
  101. +pkglibdir = $(libdir)/jikes
  102. +pkgincludedir = $(includedir)/jikes
  103. +
  104. +top_builddir = .
  105. +
  106. +ACLOCAL = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run aclocal
  107. +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoconf
  108. +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run automake
  109. +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoheader
  110. +
  111. +INSTALL = /bin/install -c
  112. +INSTALL_PROGRAM = ${INSTALL}
  113. +INSTALL_DATA = ${INSTALL} -m 644
  114. +INSTALL_SCRIPT = ${INSTALL}
  115. +INSTALL_STRIP_FLAG =
  116. +transform = s,x,x,
  117. +
  118. +NORMAL_INSTALL = :
  119. +PRE_INSTALL = :
  120. +POST_INSTALL = :
  121. +NORMAL_UNINSTALL = :
  122. +PRE_UNINSTALL = :
  123. +POST_UNINSTALL = :
  124. +
  125. +
  126. +host_alias = @host_alias@
  127. +host_triplet = m68k-cbm-amigaos
  128. +AMDEP = #
  129. +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run tar
  130. +AWK = gawk
  131. +CC = cc
  132. +CPP = @CPP@
  133. +CXX = g++
  134. +CXXCPP = g++ -E
  135. +DEPDIR = .deps
  136. +EXEEXT = 
  137. +JIKESPG = jikespg
  138. +MAINT = #
  139. +MAKEINFO = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run makeinfo
  140. +OBJEXT = o
  141. +PACKAGE = jikes
  142. +STRIP = strip
  143. +VERSION = 1.12
  144. +install_sh = ./install-sh
  145. +
  146. +
  147. +SUBDIRS = doc src
  148. +subdir = .
  149. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  150. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  151. +CONFIG_HEADER = ./src/config.h
  152. +CONFIG_CLEAN_FILES = 
  153. +DIST_SOURCES = 
  154. +DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
  155. +Makefile.in NEWS TODO acinclude.m4 aclocal.m4 config.guess config.sub \
  156. +configure configure.in install-sh missing mkinstalldirs
  157. +
  158. +
  159. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  160. +
  161. +GZIP_ENV = --best
  162. +all: all-redirect
  163. +.SUFFIXES:
  164. +$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
  165. +    cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
  166. +
  167. +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  168. +    cd $(top_builddir) \
  169. +      && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
  170. +
  171. +$(ACLOCAL_M4): # configure.in  acinclude.m4
  172. +    cd $(srcdir) && $(ACLOCAL)
  173. +
  174. +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  175. +    $(SHELL) ./config.status --recheck
  176. +$(srcdir)/configure: #$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
  177. +    cd $(srcdir) && $(AUTOCONF)
  178. +
  179. +# This directory's subdirectories are mostly independent; you can cd
  180. +# into them and run `make' without going through this Makefile.
  181. +# To change the values of `make' variables: instead of editing Makefiles,
  182. +# (1) if the variable is set in `config.status', edit `config.status'
  183. +#     (which will cause the Makefiles to be regenerated when you run `make');
  184. +# (2) otherwise, pass the desired values on the `make' command line.
  185. +
  186. +all-recursive install-data-recursive install-exec-recursive \
  187. +installdirs-recursive install-recursive uninstall-recursive  \
  188. +check-recursive installcheck-recursive info-recursive dvi-recursive:
  189. +    @set fnord $(MAKEFLAGS); amf=$$2; \
  190. +    dot_seen=no; \
  191. +    target=`echo $@ | sed s/-recursive//`; \
  192. +    list='$(SUBDIRS)'; for subdir in $$list; do \
  193. +      echo "Making $$target in $$subdir"; \
  194. +      if test "$$subdir" = "."; then \
  195. +        dot_seen=yes; \
  196. +        local_target="$$target-am"; \
  197. +      else \
  198. +        local_target="$$target"; \
  199. +      fi; \
  200. +      (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  201. +       || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  202. +    done; \
  203. +    if test "$$dot_seen" = "no"; then \
  204. +      $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  205. +    fi; test -z "$$fail"
  206. +
  207. +mostlyclean-recursive clean-recursive distclean-recursive \
  208. +maintainer-clean-recursive:
  209. +    @set fnord $(MAKEFLAGS); amf=$$2; \
  210. +    dot_seen=no; \
  211. +    rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
  212. +      rev="$$subdir $$rev"; \
  213. +      if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
  214. +    done; \
  215. +    test "$$dot_seen" = "no" && rev=". $$rev"; \
  216. +    target=`echo $@ | sed s/-recursive//`; \
  217. +    for subdir in $$rev; do \
  218. +      echo "Making $$target in $$subdir"; \
  219. +      if test "$$subdir" = "."; then \
  220. +        local_target="$$target-am"; \
  221. +      else \
  222. +        local_target="$$target"; \
  223. +      fi; \
  224. +      (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  225. +       || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  226. +    done && test -z "$$fail"
  227. +tags-recursive:
  228. +    list='$(SUBDIRS)'; for subdir in $$list; do \
  229. +      test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  230. +    done
  231. +
  232. +tags: TAGS
  233. +
  234. +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  235. +    list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
  236. +    unique=`for i in $$list; do \
  237. +        if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  238. +      done | \
  239. +      $(AWK) '    { files[$$0] = 1; } \
  240. +           END { for (i in files) print i; }'`; \
  241. +    mkid -fID $$unique $(LISP)
  242. +
  243. +TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
  244. +        $(TAGS_FILES) $(LISP)
  245. +    tags=; \
  246. +    here=`pwd`; \
  247. +    list='$(SUBDIRS)'; for subdir in $$list; do \
  248. +   if test "$$subdir" = .; then :; else \
  249. +        test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
  250. +   fi; \
  251. +    done; \
  252. +    list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
  253. +    unique=`for i in $$list; do \
  254. +        if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  255. +      done | \
  256. +      $(AWK) '    { files[$$0] = 1; } \
  257. +           END { for (i in files) print i; }'`; \
  258. +    test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
  259. +      || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
  260. +
  261. +mostlyclean-tags:
  262. +
  263. +clean-tags:
  264. +
  265. +distclean-tags:
  266. +    -rm -f TAGS ID
  267. +
  268. +maintainer-clean-tags:
  269. +
  270. +distdir = $(PACKAGE)-$(VERSION)
  271. +top_distdir = $(distdir)
  272. +
  273. +
  274. +# This target untars the dist file and tries a VPATH configuration.  Then
  275. +# it guarantees that the distribution is self-contained by making another
  276. +# tarfile.
  277. +distcheck: dist
  278. +    -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
  279. +    GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
  280. +    chmod -R a-w $(distdir); chmod a+w $(distdir)
  281. +    mkdir $(distdir)/=build
  282. +    mkdir $(distdir)/=inst
  283. +    chmod a-w $(distdir)
  284. +    dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
  285. +      && cd $(distdir)/=build \
  286. +      && ../configure --srcdir=.. --prefix=$$dc_install_base \
  287. +      && $(MAKE) $(AM_MAKEFLAGS) \
  288. +      && $(MAKE) $(AM_MAKEFLAGS) dvi \
  289. +      && $(MAKE) $(AM_MAKEFLAGS) check \
  290. +      && $(MAKE) $(AM_MAKEFLAGS) install \
  291. +      && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  292. +      && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  293. +      && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
  294. +      && $(MAKE) $(AM_MAKEFLAGS) dist \
  295. +      && $(MAKE) $(AM_MAKEFLAGS) distclean \
  296. +      && rm -f $(distdir).tar.gz \
  297. +      && test `find . -type f -print | wc -l` -eq 0
  298. +    -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
  299. +    @banner="$(distdir).tar.gz is ready for distribution"; \
  300. +    dashes=`echo "$$banner" | sed s/./=/g`; \
  301. +    echo "$$dashes"; \
  302. +    echo "$$banner"; \
  303. +    echo "$$dashes"
  304. +dist: distdir
  305. +    -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  306. +      ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  307. +      ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  308. +      ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
  309. +    || chmod -R a+r $(distdir)
  310. +    $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
  311. +    -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
  312. +dist-all: distdir
  313. +    -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  314. +      ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  315. +      ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  316. +      ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
  317. +    || chmod -R a+r $(distdir)
  318. +    $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
  319. +    -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
  320. +distdir: $(DISTFILES)
  321. +    -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
  322. +    mkdir $(distdir)
  323. +    @for file in $(DISTFILES); do \
  324. +      d=$(srcdir); \
  325. +      if test -d $$d/$$file; then \
  326. +        cp -pR $$d/$$file $(distdir) \
  327. +        || exit 1; \
  328. +      else \
  329. +        test -f $(distdir)/$$file \
  330. +        || cp -p $$d/$$file $(distdir)/$$file \
  331. +        || exit 1; \
  332. +      fi; \
  333. +    done
  334. +    for subdir in $(SUBDIRS); do \
  335. +      if test "$$subdir" = .; then :; else \
  336. +        test -d $(distdir)/$$subdir \
  337. +        || mkdir $(distdir)/$$subdir \
  338. +        || exit 1; \
  339. +        (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
  340. +          || exit 1; \
  341. +      fi; \
  342. +    done
  343. +info-am:
  344. +info: info-recursive
  345. +dvi-am:
  346. +dvi: dvi-recursive
  347. +check-am: all-am
  348. +check: check-recursive
  349. +installcheck-am:
  350. +installcheck: installcheck-recursive
  351. +install-exec-am:
  352. +install-exec: install-exec-recursive
  353. +
  354. +install-data-am:
  355. +install-data: install-data-recursive
  356. +
  357. +install-am: all-am
  358. +    @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  359. +install: install-recursive
  360. +uninstall-am:
  361. +uninstall: uninstall-recursive
  362. +all-am: Makefile
  363. +all-redirect: all-recursive
  364. +install-strip:
  365. +    $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
  366. +installdirs: installdirs-recursive
  367. +installdirs-am:
  368. +
  369. +
  370. +mostlyclean-generic:
  371. +
  372. +clean-generic:
  373. +
  374. +distclean-generic:
  375. +    -rm -f Makefile $(CONFIG_CLEAN_FILES)
  376. +    -rm -f config.cache config.log stamp-h stamp-h[0-9]*
  377. +
  378. +maintainer-clean-generic:
  379. +    -rm -f Makefile.in
  380. +mostlyclean-am:  mostlyclean-tags mostlyclean-generic
  381. +
  382. +mostlyclean: mostlyclean-recursive
  383. +
  384. +clean-am:  clean-tags clean-generic mostlyclean-am
  385. +
  386. +clean: clean-recursive
  387. +
  388. +distclean-am:  distclean-tags distclean-generic clean-am
  389. +
  390. +distclean: distclean-recursive
  391. +    -rm -f config.status
  392. +
  393. +maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
  394. +        distclean-am
  395. +    @echo "This command is intended for maintainers to use;"
  396. +    @echo "it deletes files that may require special tools to rebuild."
  397. +
  398. +maintainer-clean: maintainer-clean-recursive
  399. +    -rm -f config.status
  400. +
  401. +.PHONY: install-recursive uninstall-recursive install-data-recursive \
  402. +uninstall-data-recursive install-exec-recursive \
  403. +uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
  404. +all-recursive check-recursive installcheck-recursive info-recursive \
  405. +dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
  406. +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
  407. +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
  408. +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
  409. +install-exec install-data-am install-data install-am install \
  410. +uninstall-am uninstall all-redirect all-am all install-strip \
  411. +installdirs-am installdirs mostlyclean-generic distclean-generic \
  412. +clean-generic maintainer-clean-generic clean mostlyclean distclean \
  413. +maintainer-clean
  414. +
  415. +
  416. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  417. +# Otherwise a system limit (for SysV at least) may be exceeded.
  418. +.NOEXPORT:
  419. diff -u -r -N jikes-1.12.orig/amiga/doc/Makefile jikes-1.12/amiga/doc/Makefile
  420. --- jikes-1.12.orig/amiga/doc/Makefile    Thu Jan  1 02:00:00 1970
  421. +++ jikes-1.12/amiga/doc/Makefile    Sun Sep  3 15:34:57 2000
  422. @@ -0,0 +1,262 @@
  423. +# Makefile.in generated automatically by automake 1.4a from Makefile.am
  424. +
  425. +# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
  426. +# This Makefile.in is free software; the Free Software Foundation
  427. +# gives unlimited permission to copy and/or distribute it,
  428. +# with or without modifications, as long as this notice is preserved.
  429. +
  430. +# This program is distributed in the hope that it will be useful,
  431. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  432. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  433. +# PARTICULAR PURPOSE.
  434. +
  435. +SHELL = /bin/sh
  436. +
  437. +srcdir = .
  438. +top_srcdir = ..
  439. +prefix = /gg
  440. +exec_prefix = ${prefix}
  441. +
  442. +bindir = ${exec_prefix}/bin
  443. +sbindir = ${exec_prefix}/sbin
  444. +libexecdir = ${exec_prefix}/libexec
  445. +datadir = ${prefix}/share
  446. +sysconfdir = ${prefix}/etc
  447. +sharedstatedir = ${prefix}/com
  448. +localstatedir = ${prefix}/var
  449. +libdir = ${exec_prefix}/lib
  450. +infodir = ${prefix}/info
  451. +mandir = ${prefix}/man
  452. +includedir = ${prefix}/include
  453. +oldincludedir = /usr/include
  454. +
  455. +pkgdatadir = $(datadir)/jikes
  456. +pkglibdir = $(libdir)/jikes
  457. +pkgincludedir = $(includedir)/jikes
  458. +
  459. +top_builddir = ..
  460. +
  461. +ACLOCAL = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run aclocal
  462. +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoconf
  463. +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run automake
  464. +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoheader
  465. +
  466. +INSTALL = /bin/install -c
  467. +INSTALL_PROGRAM = ${INSTALL}
  468. +INSTALL_DATA = ${INSTALL} -m 644
  469. +INSTALL_SCRIPT = ${INSTALL}
  470. +INSTALL_STRIP_FLAG =
  471. +transform = s,x,x,
  472. +
  473. +NORMAL_INSTALL = :
  474. +PRE_INSTALL = :
  475. +POST_INSTALL = :
  476. +NORMAL_UNINSTALL = :
  477. +PRE_UNINSTALL = :
  478. +POST_UNINSTALL = :
  479. +
  480. +
  481. +host_alias = @host_alias@
  482. +host_triplet = m68k-cbm-amigaos
  483. +AMDEP = #
  484. +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run tar
  485. +AWK = gawk
  486. +CC = @CC@
  487. +CPP = @CPP@
  488. +CXX = g++
  489. +CXXCPP = g++ -E
  490. +DEPDIR = .deps
  491. +EXEEXT = 
  492. +JIKESPG = jikespg
  493. +MAINT = #
  494. +MAKEINFO = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run makeinfo
  495. +OBJEXT = o
  496. +PACKAGE = jikes
  497. +STRIP = strip
  498. +VERSION = 1.12
  499. +install_sh = ./install-sh
  500. +
  501. +
  502. +man_MANS = jikes.1
  503. +
  504. +docdir = $(prefix)/doc/${PACKAGE}-${VERSION}
  505. +
  506. +doc_DATA = \
  507. +contrib.html \
  508. +jikes.gif \
  509. +jikes.html \
  510. +license.htm \
  511. +news.html
  512. +
  513. +
  514. +EXTRA_DIST = $(man_MANS) $(doc_DATA)
  515. +subdir = doc
  516. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  517. +CONFIG_HEADER = ../src/config.h
  518. +CONFIG_CLEAN_FILES = 
  519. +DIST_SOURCES = 
  520. +man1dir = $(mandir)/man1
  521. +MANS = $(man_MANS)
  522. +
  523. +NROFF = nroff
  524. +DATA =  $(doc_DATA)
  525. +
  526. +DIST_COMMON =  Makefile.am Makefile.in
  527. +
  528. +
  529. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  530. +
  531. +GZIP_ENV = --best
  532. +all: all-redirect
  533. +.SUFFIXES:
  534. +$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
  535. +    cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile
  536. +
  537. +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  538. +    cd $(top_builddir) \
  539. +      && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  540. +
  541. +
  542. +install-man1:
  543. +    $(mkinstalldirs) $(DESTDIR)$(man1dir)
  544. +    @list='$(man1_MANS)'; \
  545. +    l2='$(man_MANS)'; for i in $$l2; do \
  546. +      case "$$i" in \
  547. +        *.1*) list="$$list $$i" ;; \
  548. +      esac; \
  549. +    done; \
  550. +    for i in $$list; do \
  551. +      if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  552. +      else file=$$i; fi; \
  553. +      ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  554. +      inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  555. +      inst=`echo $$inst | sed -e 's/^.*\///'`; \
  556. +      inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  557. +      echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
  558. +      $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
  559. +    done
  560. +
  561. +uninstall-man1:
  562. +    @list='$(man1_MANS)'; \
  563. +    l2='$(man_MANS)'; for i in $$l2; do \
  564. +      case "$$i" in \
  565. +        *.1*) list="$$list $$i" ;; \
  566. +      esac; \
  567. +    done; \
  568. +    for i in $$list; do \
  569. +      ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  570. +      inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  571. +      inst=`echo $$inst | sed -e 's/^.*\///'`; \
  572. +      inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  573. +      echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
  574. +      rm -f $(DESTDIR)$(man1dir)/$$inst; \
  575. +    done
  576. +install-man: $(MANS)
  577. +    @$(NORMAL_INSTALL)
  578. +    $(MAKE) $(AM_MAKEFLAGS) install-man1
  579. +uninstall-man:
  580. +    @$(NORMAL_UNINSTALL)
  581. +    $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
  582. +
  583. +install-docDATA: $(doc_DATA)
  584. +    @$(NORMAL_INSTALL)
  585. +    $(mkinstalldirs) $(DESTDIR)$(docdir)
  586. +    @list='$(doc_DATA)'; for p in $$list; do \
  587. +      if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
  588. +      f="`echo $$p | sed -e 's|^.*/||'`"; \
  589. +      echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(docdir)/$$f"; \
  590. +      $(INSTALL_DATA) $$d$$p $(DESTDIR)$(docdir)/$$f; \
  591. +    done
  592. +
  593. +uninstall-docDATA:
  594. +    @$(NORMAL_UNINSTALL)
  595. +    @list='$(doc_DATA)'; for p in $$list; do \
  596. +      f="`echo $$p | sed -e 's|^.*/||'`"; \
  597. +      echo " rm -f $(DESTDIR)$(docdir)/$$f"; \
  598. +      rm -f $(DESTDIR)$(docdir)/$$f; \
  599. +    done
  600. +tags: TAGS
  601. +TAGS:
  602. +
  603. +
  604. +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
  605. +
  606. +distdir: $(DISTFILES)
  607. +    @for file in $(DISTFILES); do \
  608. +      d=$(srcdir); \
  609. +      if test -d $$d/$$file; then \
  610. +        cp -pR $$d/$$file $(distdir) \
  611. +        || exit 1; \
  612. +      else \
  613. +        test -f $(distdir)/$$file \
  614. +        || cp -p $$d/$$file $(distdir)/$$file \
  615. +        || exit 1; \
  616. +      fi; \
  617. +    done
  618. +info-am:
  619. +info: info-am
  620. +dvi-am:
  621. +dvi: dvi-am
  622. +check-am: all-am
  623. +check: check-am
  624. +installcheck-am:
  625. +installcheck: installcheck-am
  626. +install-exec-am:
  627. +install-exec: install-exec-am
  628. +
  629. +install-data-am: install-man install-docDATA
  630. +install-data: install-data-am
  631. +
  632. +install-am: all-am
  633. +    @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  634. +install: install-am
  635. +uninstall-am: uninstall-man uninstall-docDATA
  636. +uninstall: uninstall-am
  637. +all-am: Makefile $(MANS) $(DATA)
  638. +all-redirect: all-am
  639. +install-strip:
  640. +    $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
  641. +installdirs:
  642. +    $(mkinstalldirs)  $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(docdir)
  643. +
  644. +
  645. +mostlyclean-generic:
  646. +
  647. +clean-generic:
  648. +
  649. +distclean-generic:
  650. +    -rm -f Makefile $(CONFIG_CLEAN_FILES)
  651. +    -rm -f config.cache config.log stamp-h stamp-h[0-9]*
  652. +
  653. +maintainer-clean-generic:
  654. +    -rm -f Makefile.in
  655. +mostlyclean-am:  mostlyclean-generic
  656. +
  657. +mostlyclean: mostlyclean-am
  658. +
  659. +clean-am:  clean-generic mostlyclean-am
  660. +
  661. +clean: clean-am
  662. +
  663. +distclean-am:  distclean-generic clean-am
  664. +
  665. +distclean: distclean-am
  666. +
  667. +maintainer-clean-am:  maintainer-clean-generic distclean-am
  668. +    @echo "This command is intended for maintainers to use;"
  669. +    @echo "it deletes files that may require special tools to rebuild."
  670. +
  671. +maintainer-clean: maintainer-clean-am
  672. +
  673. +.PHONY: install-man1 uninstall-man1 install-man uninstall-man \
  674. +uninstall-docDATA install-docDATA tags distdir info-am info dvi-am dvi \
  675. +check check-am installcheck-am installcheck install-exec-am \
  676. +install-exec install-data-am install-data install-am install \
  677. +uninstall-am uninstall all-redirect all-am all install-strip \
  678. +installdirs mostlyclean-generic distclean-generic clean-generic \
  679. +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
  680. +
  681. +
  682. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  683. +# Otherwise a system limit (for SysV at least) may be exceeded.
  684. +.NOEXPORT:
  685. diff -u -r -N jikes-1.12.orig/amiga/src/Makefile jikes-1.12/amiga/src/Makefile
  686. --- jikes-1.12.orig/amiga/src/Makefile    Thu Jan  1 02:00:00 1970
  687. +++ jikes-1.12/amiga/src/Makefile    Mon Sep  4 19:35:48 2000
  688. @@ -0,0 +1,517 @@
  689. +# Makefile.in generated automatically by automake 1.4a from Makefile.am
  690. +
  691. +# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
  692. +# This Makefile.in is free software; the Free Software Foundation
  693. +# gives unlimited permission to copy and/or distribute it,
  694. +# with or without modifications, as long as this notice is preserved.
  695. +
  696. +# This program is distributed in the hope that it will be useful,
  697. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  698. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  699. +# PARTICULAR PURPOSE.
  700. +
  701. +SHELL = /bin/sh
  702. +
  703. +srcdir = .
  704. +top_srcdir = ..
  705. +prefix = /gg
  706. +exec_prefix = ${prefix}
  707. +
  708. +bindir = ${exec_prefix}/bin
  709. +sbindir = ${exec_prefix}/sbin
  710. +libexecdir = ${exec_prefix}/libexec
  711. +datadir = ${prefix}/share
  712. +sysconfdir = ${prefix}/etc
  713. +sharedstatedir = ${prefix}/com
  714. +localstatedir = ${prefix}/var
  715. +libdir = ${exec_prefix}/lib
  716. +infodir = ${prefix}/info
  717. +mandir = ${prefix}/man
  718. +includedir = ${prefix}/include
  719. +oldincludedir = /usr/include
  720. +
  721. +pkgdatadir = $(datadir)/jikes
  722. +pkglibdir = $(libdir)/jikes
  723. +pkgincludedir = $(includedir)/jikes
  724. +
  725. +top_builddir = ..
  726. +
  727. +ACLOCAL = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run aclocal
  728. +AUTOCONF = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoconf
  729. +AUTOMAKE = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run automake
  730. +AUTOHEADER = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run autoheader
  731. +
  732. +INSTALL = /bin/install -c
  733. +INSTALL_PROGRAM = ${INSTALL}
  734. +INSTALL_DATA = ${INSTALL} -m 644
  735. +INSTALL_SCRIPT = ${INSTALL}
  736. +INSTALL_STRIP_FLAG =
  737. +transform = s,x,x,
  738. +
  739. +NORMAL_INSTALL = :
  740. +PRE_INSTALL = :
  741. +POST_INSTALL = :
  742. +NORMAL_UNINSTALL = :
  743. +PRE_UNINSTALL = :
  744. +POST_UNINSTALL = :
  745. +
  746. +
  747. +host_alias = @host_alias@
  748. +host_triplet = m68k-cbm-amigaos
  749. +AMDEP = #
  750. +AMTAR = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run tar
  751. +AWK = gawk
  752. +CC = gcc
  753. +CPP = @CPP@
  754. +CXX = g++
  755. +CXXCPP = g++ -E
  756. +DEPDIR = .deps
  757. +EXEEXT = 
  758. +JIKESPG = jikespg
  759. +MAINT = #
  760. +MAKEINFO = ${SHELL} /Boot/Home/T/jikes-1.12/missing --run makeinfo
  761. +OBJEXT = o
  762. +PACKAGE = jikes
  763. +STRIP = strip
  764. +VERSION = 1.12
  765. +install_sh = ./install-sh
  766. +
  767. +
  768. +bin_PROGRAMS = jikes
  769. +
  770. +jikes_SOURCES = \
  771. +ast.cpp \
  772. +body.cpp \
  773. +bytecode.cpp \
  774. +case.cpp \
  775. +code.cpp \
  776. +control.cpp \
  777. +decl.cpp \
  778. +definite.cpp \
  779. +depend.cpp \
  780. +diagnose.cpp \
  781. +double.cpp \
  782. +dump.cpp \
  783. +error.cpp \
  784. +expr.cpp \
  785. +getclass.cpp \
  786. +incrmnt.cpp \
  787. +init.cpp \
  788. +javaact.cpp \
  789. +jikes.cpp \
  790. +jikesapi.cpp \
  791. +long.cpp \
  792. +lookup.cpp \
  793. +lpginput.cpp \
  794. +modifier.cpp \
  795. +op.cpp \
  796. +option.cpp \
  797. +parser.cpp \
  798. +scanner.cpp \
  799. +segment.cpp \
  800. +set.cpp \
  801. +stream.cpp \
  802. +symbol.cpp \
  803. +system.cpp \
  804. +tab.cpp \
  805. +unparse.cpp \
  806. +unzip.cpp \
  807. +zip.cpp \
  808. +platform.cpp \
  809. +amiga.c \
  810. +jikesapi.h
  811. +
  812. +
  813. +# FIXME : jikesapi.h does not get installed right now.
  814. +
  815. +noinst_HEADERS = \
  816. +access.h \
  817. +ast.h \
  818. +bytecode.h \
  819. +case.h \
  820. +class.h \
  821. +code.h \
  822. +control.h \
  823. +depend.h \
  824. +diagnose.h \
  825. +double.h \
  826. +error.h \
  827. +getclass.h \
  828. +javaact.h \
  829. +javadcl.h \
  830. +javadef.h \
  831. +javaprs.h \
  832. +javasym.h \
  833. +jikesapi.h \
  834. +long.h \
  835. +lookup.h \
  836. +lpginput.h \
  837. +op.h \
  838. +option.h \
  839. +parser.h \
  840. +platform.h \
  841. +scanner.h \
  842. +segment.h \
  843. +semantic.h \
  844. +set.h \
  845. +spell.h \
  846. +stream.h \
  847. +symbol.h \
  848. +tab.h \
  849. +table.h \
  850. +tuple.h \
  851. +unzip.h \
  852. +zip.h
  853. +
  854. +subdir = src
  855. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  856. +CONFIG_HEADER = config.h
  857. +CONFIG_CLEAN_FILES = 
  858. +bin_PROGRAMS =  jikes$(EXEEXT)
  859. +PROGRAMS =  $(bin_PROGRAMS)
  860. +
  861. +
  862. +DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
  863. +CPPFLAGS = 
  864. +LDFLAGS = -s -m68020-60 -m68881
  865. +# Use GG:lib/libnix/swapstack.o when compiling for a 68000
  866. +# Use GG:lib/libm020/libnix/swapstack.o when compiling for a 68020+
  867. +LIBS = GG:lib/libm020/libnix/swapstack.o -licu-uc -lw -noixemul
  868. +am_jikes_OBJECTS =  ast.$(OBJEXT) body.$(OBJEXT) bytecode.$(OBJEXT) \
  869. +case.$(OBJEXT) code.$(OBJEXT) control.$(OBJEXT) decl.$(OBJEXT) \
  870. +definite.$(OBJEXT) depend.$(OBJEXT) diagnose.$(OBJEXT) double.$(OBJEXT) \
  871. +dump.$(OBJEXT) error.$(OBJEXT) expr.$(OBJEXT) getclass.$(OBJEXT) \
  872. +incrmnt.$(OBJEXT) init.$(OBJEXT) javaact.$(OBJEXT) jikes.$(OBJEXT) \
  873. +jikesapi.$(OBJEXT) long.$(OBJEXT) lookup.$(OBJEXT) lpginput.$(OBJEXT) \
  874. +modifier.$(OBJEXT) op.$(OBJEXT) option.$(OBJEXT) parser.$(OBJEXT) \
  875. +scanner.$(OBJEXT) segment.$(OBJEXT) set.$(OBJEXT) stream.$(OBJEXT) \
  876. +symbol.$(OBJEXT) system.$(OBJEXT) tab.$(OBJEXT) unparse.$(OBJEXT) \
  877. +unzip.$(OBJEXT) zip.$(OBJEXT) platform.$(OBJEXT) amiga.$(OBJEXT)
  878. +jikes_OBJECTS =  $(am_jikes_OBJECTS)
  879. +jikes_LDADD = $(LDADD)
  880. +jikes_DEPENDENCIES = 
  881. +jikes_LDFLAGS = 
  882. +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  883. +CXXFLAGS = -O0 -m68020-60 -m68881 -DICU131 -Dstat=mystat -Dfopen=myfopen -Dopendir=myopendir -Dmkdir=mymkdir
  884. +CXXLD = $(CXX)
  885. +CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  886. +CFLAGS = -O0 -m68020-60 -m68881 -DICU131 -Dstat=mystat -Dfopen=myfopen -Dopendir=myopendir -Dmkdir=mymkdir
  887. +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  888. +CCLD = $(CC)
  889. +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  890. +DIST_SOURCES =  $(jikes_SOURCES)
  891. +HEADERS =  $(noinst_HEADERS)
  892. +
  893. +depcomp = $(SHELL) $(top_srcdir)/depcomp
  894. +DEP_FILES =  # $(DEPDIR)/ast.Po $(DEPDIR)/body.Po \
  895. +$(DEPDIR)/bytecode.Po $(DEPDIR)/case.Po $(DEPDIR)/code.Po \
  896. +$(DEPDIR)/control.Po $(DEPDIR)/decl.Po $(DEPDIR)/definite.Po \
  897. +$(DEPDIR)/depend.Po $(DEPDIR)/diagnose.Po $(DEPDIR)/double.Po \
  898. +$(DEPDIR)/dump.Po $(DEPDIR)/error.Po $(DEPDIR)/expr.Po \
  899. +$(DEPDIR)/getclass.Po $(DEPDIR)/incrmnt.Po $(DEPDIR)/init.Po \
  900. +$(DEPDIR)/javaact.Po $(DEPDIR)/jikes.Po $(DEPDIR)/jikesapi.Po \
  901. +$(DEPDIR)/long.Po $(DEPDIR)/lookup.Po $(DEPDIR)/lpginput.Po \
  902. +$(DEPDIR)/modifier.Po $(DEPDIR)/op.Po $(DEPDIR)/option.Po \
  903. +$(DEPDIR)/parser.Po $(DEPDIR)/platform.Po $(DEPDIR)/scanner.Po \
  904. +$(DEPDIR)/segment.Po $(DEPDIR)/set.Po $(DEPDIR)/stream.Po \
  905. +$(DEPDIR)/symbol.Po $(DEPDIR)/system.Po $(DEPDIR)/tab.Po \
  906. +$(DEPDIR)/unparse.Po $(DEPDIR)/unzip.Po $(DEPDIR)/zip.Po
  907. +DIST_COMMON =  $(noinst_HEADERS) ./stamp-h.in Makefile.am Makefile.in \
  908. +config.h.in depcomp
  909. +
  910. +
  911. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  912. +
  913. +GZIP_ENV = --best
  914. +SOURCES = $(jikes_SOURCES)
  915. +OBJECTS = $(am_jikes_OBJECTS)
  916. +
  917. +all: all-redirect
  918. +.SUFFIXES:
  919. +.SUFFIXES: .c .cpp .h .o .obj
  920. +$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
  921. +    cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
  922. +
  923. +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  924. +    cd $(top_builddir) \
  925. +      && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  926. +
  927. +
  928. +config.h: stamp-h
  929. +    @if test ! -f $@; then \
  930. +        rm -f stamp-h; \
  931. +        $(MAKE) stamp-h; \
  932. +    else :; fi
  933. +stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
  934. +    @rm -f stamp-h stamp-hT
  935. +    @echo timestamp > stamp-hT 2> /dev/null
  936. +    cd $(top_builddir) \
  937. +      && CONFIG_FILES= CONFIG_HEADERS=src/config.h \
  938. +         $(SHELL) ./config.status
  939. +    @mv stamp-hT stamp-h
  940. +$(srcdir)/config.h.in: #$(srcdir)/./stamp-h.in
  941. +    @if test ! -f $@; then \
  942. +        rm -f $(srcdir)/./stamp-h.in; \
  943. +        $(MAKE) $(srcdir)/./stamp-h.in; \
  944. +    else :; fi
  945. +$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 
  946. +    @rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
  947. +    @echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
  948. +    cd $(top_srcdir) && $(AUTOHEADER)
  949. +    @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
  950. +
  951. +mostlyclean-hdr:
  952. +
  953. +clean-hdr:
  954. +
  955. +distclean-hdr:
  956. +    -rm -f config.h
  957. +
  958. +maintainer-clean-hdr:
  959. +
  960. +mostlyclean-binPROGRAMS:
  961. +
  962. +clean-binPROGRAMS:
  963. +    -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
  964. +
  965. +distclean-binPROGRAMS:
  966. +
  967. +maintainer-clean-binPROGRAMS:
  968. +
  969. +install-binPROGRAMS: $(bin_PROGRAMS)
  970. +    @$(NORMAL_INSTALL)
  971. +    $(mkinstalldirs) $(DESTDIR)$(bindir)
  972. +    @list='$(bin_PROGRAMS)'; for p in $$list; do \
  973. +      if test -f $$p; then \
  974. +        f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
  975. +        echo "  $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
  976. +         $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
  977. +      else :; fi; \
  978. +    done
  979. +
  980. +uninstall-binPROGRAMS:
  981. +    @$(NORMAL_UNINSTALL)
  982. +    @list='$(bin_PROGRAMS)'; for p in $$list; do \
  983. +      f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
  984. +      echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
  985. +      rm -f $(DESTDIR)$(bindir)/$$f; \
  986. +    done
  987. +
  988. +mostlyclean-compile:
  989. +    -rm -f *.o core *.core
  990. +    -rm -f *.$(OBJEXT)
  991. +
  992. +clean-compile:
  993. +
  994. +distclean-compile:
  995. +    -rm -f *.tab.c
  996. +
  997. +maintainer-clean-compile:
  998. +
  999. +jikes$(EXEEXT): $(jikes_OBJECTS) $(jikes_DEPENDENCIES)
  1000. +    @rm -f jikes$(EXEEXT)
  1001. +    $(CXXLINK) $(jikes_LDFLAGS) $(jikes_OBJECTS) $(jikes_LDADD) $(LIBS)
  1002. +
  1003. +tags: TAGS
  1004. +
  1005. +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  1006. +    list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
  1007. +    unique=`for i in $$list; do \
  1008. +        if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  1009. +      done | \
  1010. +      $(AWK) '    { files[$$0] = 1; } \
  1011. +           END { for (i in files) print i; }'`; \
  1012. +    mkid -fID $$unique $(LISP)
  1013. +
  1014. +TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  1015. +        $(TAGS_FILES) $(LISP)
  1016. +    tags=; \
  1017. +    here=`pwd`; \
  1018. +    list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
  1019. +    unique=`for i in $$list; do \
  1020. +        if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  1021. +      done | \
  1022. +      $(AWK) '    { files[$$0] = 1; } \
  1023. +           END { for (i in files) print i; }'`; \
  1024. +    test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
  1025. +      || etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)
  1026. +
  1027. +mostlyclean-tags:
  1028. +
  1029. +clean-tags:
  1030. +
  1031. +distclean-tags:
  1032. +    -rm -f TAGS ID
  1033. +
  1034. +maintainer-clean-tags:
  1035. +
  1036. +#include $(DEPDIR)/ast.Po
  1037. +#include $(DEPDIR)/body.Po
  1038. +#include $(DEPDIR)/bytecode.Po
  1039. +#include $(DEPDIR)/case.Po
  1040. +#include $(DEPDIR)/code.Po
  1041. +#include $(DEPDIR)/control.Po
  1042. +#include $(DEPDIR)/decl.Po
  1043. +#include $(DEPDIR)/definite.Po
  1044. +#include $(DEPDIR)/depend.Po
  1045. +#include $(DEPDIR)/diagnose.Po
  1046. +#include $(DEPDIR)/double.Po
  1047. +#include $(DEPDIR)/dump.Po
  1048. +#include $(DEPDIR)/error.Po
  1049. +#include $(DEPDIR)/expr.Po
  1050. +#include $(DEPDIR)/getclass.Po
  1051. +#include $(DEPDIR)/incrmnt.Po
  1052. +#include $(DEPDIR)/init.Po
  1053. +#include $(DEPDIR)/javaact.Po
  1054. +#include $(DEPDIR)/jikes.Po
  1055. +#include $(DEPDIR)/jikesapi.Po
  1056. +#include $(DEPDIR)/long.Po
  1057. +#include $(DEPDIR)/lookup.Po
  1058. +#include $(DEPDIR)/lpginput.Po
  1059. +#include $(DEPDIR)/modifier.Po
  1060. +#include $(DEPDIR)/op.Po
  1061. +#include $(DEPDIR)/option.Po
  1062. +#include $(DEPDIR)/parser.Po
  1063. +#include $(DEPDIR)/platform.Po
  1064. +#include $(DEPDIR)/scanner.Po
  1065. +#include $(DEPDIR)/segment.Po
  1066. +#include $(DEPDIR)/set.Po
  1067. +#include $(DEPDIR)/stream.Po
  1068. +#include $(DEPDIR)/symbol.Po
  1069. +#include $(DEPDIR)/system.Po
  1070. +#include $(DEPDIR)/tab.Po
  1071. +#include $(DEPDIR)/unparse.Po
  1072. +#include $(DEPDIR)/unzip.Po
  1073. +#include $(DEPDIR)/zip.Po
  1074. +
  1075. +mostlyclean-depend:
  1076. +
  1077. +clean-depend:
  1078. +
  1079. +distclean-depend:
  1080. +    -rm -rf $(DEPDIR)
  1081. +
  1082. +maintainer-clean-depend:
  1083. +
  1084. +#CXXDEPMODE = depmode=none
  1085. +
  1086. +.cpp.o:
  1087. +#    source='$<' object='$@' libtool=no 
  1088. +#    depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' 
  1089. +#    $(CXXDEPMODE) $(depcomp) 
  1090. +    $(CXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
  1091. +
  1092. +.cpp.obj:
  1093. +#    source='$<' object='$@' libtool=no 
  1094. +#    depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' 
  1095. +#    $(CXXDEPMODE) $(depcomp) 
  1096. +    $(CXXCOMPILE) -c -o $@ `cygpath -w $<`
  1097. +
  1098. +
  1099. +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
  1100. +
  1101. +distdir: $(DISTFILES)
  1102. +    @for file in $(DISTFILES); do \
  1103. +      d=$(srcdir); \
  1104. +      if test -d $$d/$$file; then \
  1105. +        cp -pR $$d/$$file $(distdir) \
  1106. +        || exit 1; \
  1107. +      else \
  1108. +        test -f $(distdir)/$$file \
  1109. +        || cp -p $$d/$$file $(distdir)/$$file \
  1110. +        || exit 1; \
  1111. +      fi; \
  1112. +    done
  1113. +info-am:
  1114. +info: info-am
  1115. +dvi-am:
  1116. +dvi: dvi-am
  1117. +check-am: all-am
  1118. +check: check-am
  1119. +installcheck-am:
  1120. +installcheck: installcheck-am
  1121. +all-recursive-am: config.h
  1122. +    $(MAKE) $(AM_MAKEFLAGS) all-recursive
  1123. +
  1124. +install-exec-am: install-binPROGRAMS
  1125. +install-exec: install-exec-am
  1126. +
  1127. +install-data-am:
  1128. +install-data: install-data-am
  1129. +
  1130. +install-am: all-am
  1131. +    @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  1132. +install: install-am
  1133. +uninstall-am: uninstall-binPROGRAMS
  1134. +uninstall: uninstall-am
  1135. +all-am: Makefile $(PROGRAMS) $(HEADERS) config.h
  1136. +all-redirect: all-am
  1137. +install-strip:
  1138. +    $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
  1139. +installdirs:
  1140. +    $(mkinstalldirs)  $(DESTDIR)$(bindir)
  1141. +
  1142. +
  1143. +mostlyclean-generic:
  1144. +
  1145. +clean-generic:
  1146. +
  1147. +distclean-generic:
  1148. +    -rm -f Makefile $(CONFIG_CLEAN_FILES)
  1149. +    -rm -f config.cache config.log stamp-h stamp-h[0-9]*
  1150. +
  1151. +maintainer-clean-generic:
  1152. +    -rm -f Makefile.in
  1153. +mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
  1154. +        mostlyclean-compile mostlyclean-tags mostlyclean-depend \
  1155. +        mostlyclean-generic
  1156. +
  1157. +mostlyclean: mostlyclean-am
  1158. +
  1159. +clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
  1160. +        clean-depend clean-generic mostlyclean-am
  1161. +
  1162. +clean: clean-am
  1163. +
  1164. +distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
  1165. +        distclean-tags distclean-depend distclean-generic \
  1166. +        clean-am
  1167. +
  1168. +distclean: distclean-am
  1169. +
  1170. +maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
  1171. +        maintainer-clean-compile maintainer-clean-tags \
  1172. +        maintainer-clean-depend maintainer-clean-generic \
  1173. +        distclean-am
  1174. +    @echo "This command is intended for maintainers to use;"
  1175. +    @echo "it deletes files that may require special tools to rebuild."
  1176. +
  1177. +maintainer-clean: maintainer-clean-am
  1178. +
  1179. +.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
  1180. +mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
  1181. +maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
  1182. +mostlyclean-compile distclean-compile clean-compile \
  1183. +maintainer-clean-compile tags mostlyclean-tags distclean-tags \
  1184. +clean-tags maintainer-clean-tags mostlyclean-depend distclean-depend \
  1185. +clean-depend maintainer-clean-depend distdir info-am info dvi-am dvi \
  1186. +check check-am installcheck-am installcheck all-recursive-am \
  1187. +install-exec-am install-exec install-data-am install-data install-am \
  1188. +install uninstall-am uninstall all-redirect all-am all install-strip \
  1189. +installdirs mostlyclean-generic distclean-generic clean-generic \
  1190. +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
  1191. +
  1192. +
  1193. +# FIXME : This is currently broken, need to ask Tom why is does not work.
  1194. +#INCLUDES = -I$(srcdir) -I.
  1195. +
  1196. +# Special rule to remake autogenerated Java files
  1197. +
  1198. +jikespg:
  1199. +    cd $(srcdir)
  1200. +    jikespg java.g
  1201. +    rm -f java.l
  1202. +
  1203. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  1204. +# Otherwise a system limit (for SysV at least) may be exceeded.
  1205. +.NOEXPORT:
  1206. diff -u -r -N jikes-1.12.orig/amiga/src/config.h jikes-1.12/amiga/src/config.h
  1207. --- jikes-1.12.orig/amiga/src/config.h    Thu Jan  1 02:00:00 1970
  1208. +++ jikes-1.12/amiga/src/config.h    Mon Sep  4 19:19:21 2000
  1209. @@ -0,0 +1,169 @@
  1210. +/* src/config.h.  Generated automatically by configure.  */
  1211. +/* src/config.h.in.  Generated automatically from configure.in by autoheader.  */
  1212. +
  1213. +/* Defined when bit sizes are int = 32, short = 16, char = 8 */
  1214. +#define HAVE_32BIT_TYPES 
  1215. +
  1216. +/* Define if you have the <assert.h> header file. */
  1217. +#define HAVE_ASSERT_H 1
  1218. +
  1219. +/* defined if bool is a built-in C++ type */
  1220. +#define HAVE_BOOL 
  1221. +
  1222. +/* known to be broken on mingwin beta 20 */
  1223. +/* #undef HAVE_BROKEN_USHRT_MAX */
  1224. +
  1225. +/* Define if you have the <ctype.h> header file. */
  1226. +#define HAVE_CTYPE_H 1
  1227. +
  1228. +/* Define if you have the `cygwin_win32_to_posix_path_list' function. */
  1229. +/* #undef HAVE_CYGWIN_WIN32_TO_POSIX_PATH_LIST */
  1230. +
  1231. +/* Define if you have the <direct.h> header file. */
  1232. +/* #undef HAVE_DIRECT_H */
  1233. +
  1234. +/* Define if you have the <dirent.h> header file. */
  1235. +#define HAVE_DIRENT_H 1
  1236. +
  1237. +/* Defined when the compiler would generate an error on a call to wcslen with
  1238. +   a non const argument. This is only known to happen on cygwin and mingwin */
  1239. +/* #undef HAVE_ERROR_CALL_WCSLEN_CONST */
  1240. +
  1241. +/* compiler will generate an error when discarding a const qualifier */
  1242. +#define HAVE_ERROR_DISCARD_CONST 
  1243. +
  1244. +/* Define if you have the <float.h> header file. */
  1245. +#define HAVE_FLOAT_H 1
  1246. +
  1247. +/* use unix style mkdir(str, S_IRWXU | S_IRWXG | S_IRWXO) */
  1248. +#define HAVE_GLIBC_MKDIR 
  1249. +
  1250. +/* known to be broken on Win and OS2 when compiled with ICC */
  1251. +/* #undef HAVE_ICC_FP_BUGS */
  1252. +
  1253. +/* Define if you have the <iconv.h> header file. */
  1254. +/* #undef HAVE_ICONV_H */
  1255. +
  1256. +/* Define if you have the <iostream.h> header file. */
  1257. +#define HAVE_IOSTREAM_H 1
  1258. +
  1259. +/* use unix style mkdir(str, S_IRWXU) */
  1260. +/* #undef HAVE_LIBC5_MKDIR */
  1261. +
  1262. +/* Define if you have the `iconv' library (-liconv). */
  1263. +/* #undef HAVE_LIBICONV */
  1264. +
  1265. +/* Define if you have the `icu-uc' library (-licu-uc). */
  1266. +#define HAVE_LIB_ICU_UC 1
  1267. +
  1268. +/* Define if you have the `m' library (-lm). */
  1269. +/* #undef HAVE_LIBM */
  1270. +
  1271. +/* Define if you have the <limits.h> header file. */
  1272. +#define HAVE_LIMITS_H 1
  1273. +
  1274. +/* use mac style mkdir(str,0) from <stat.mac.h> */
  1275. +/* #undef HAVE_MAC_MKDIR */
  1276. +
  1277. +/* Define if you have the <math.h> header file. */
  1278. +#define HAVE_MATH_H 1
  1279. +
  1280. +/* Define if you have the <memory.h> header file. */
  1281. +#define HAVE_MEMORY_H 1
  1282. +
  1283. +/* Define if you have the `mkdir' function. */
  1284. +#define HAVE_MKDIR 1
  1285. +
  1286. +/* define if the compiler implements namespaces */
  1287. +/* #undef HAVE_NAMESPACES */
  1288. +
  1289. +/* Define if you have the <new> header file. */
  1290. +#define HAVE_NEW 1
  1291. +
  1292. +/* Define if you have the <new.h> header file. */
  1293. +#define HAVE_NEW_H 1
  1294. +
  1295. +/* defined if running on a system with dos style paths */
  1296. +#define HAVE_PATHNAME_STYLE_DOS 1
  1297. +
  1298. +/* define if the compiler supports ISO C++ standard library */
  1299. +#define HAVE_STD 
  1300. +
  1301. +/* Define if you have the <stdio.h> header file. */
  1302. +#define HAVE_STDIO_H 1
  1303. +
  1304. +/* Define if you have the <strings.h> header file. */
  1305. +#define HAVE_STRINGS_H 1
  1306. +
  1307. +/* Define if you have the <string.h> header file. */
  1308. +#define HAVE_STRING_H 1
  1309. +
  1310. +/* Define if you have the <sys/cygwin.h> header file. */
  1311. +/* #undef HAVE_SYS_CYGWIN_H */
  1312. +
  1313. +/* Define if you have the <time.h> header file. */
  1314. +#define HAVE_TIME_H 1
  1315. +
  1316. +/* Defined when the compiler supports the unsigned long long type */
  1317. +#define HAVE_UNSIGNED_LONG_LONG 
  1318. +
  1319. +/* Use visual C++ version of set_new_handler */
  1320. +/* #undef HAVE_VCPP_SET_NEW_HANDLER */
  1321. +
  1322. +/* Define if you have the <wchar.h> header file. */
  1323. +#define HAVE_WCHAR_H 1
  1324. +
  1325. +/* Define if you have the `wcscat' function. */
  1326. +#define HAVE_WCSCAT 1
  1327. +
  1328. +/* Define if you have the `wcscmp' function. */
  1329. +#define HAVE_WCSCMP 1
  1330. +
  1331. +/* Define if you have the `wcscpy' function. */
  1332. +#define HAVE_WCSCPY 1
  1333. +
  1334. +/* Define if you have the `wcslen' function. */
  1335. +#define HAVE_WCSLEN 1
  1336. +
  1337. +/* Define if you have the `wcsncmp' function. */
  1338. +#define HAVE_WCSNCMP 1
  1339. +
  1340. +/* Define if you have the `wcsncpy' function. */
  1341. +#define HAVE_WCSNCPY 1
  1342. +
  1343. +/* use win32 style mkdir(str) from <direct.h> */
  1344. +/* #undef HAVE_WIN32_MKDIR */
  1345. +
  1346. +/* Define if you have the <windows.h> header file. */
  1347. +/* #undef HAVE_WINDOWS_H */
  1348. +
  1349. +/* Defined when the wint_t type is supported */
  1350. +/* #undef HAVE_WINT_T */
  1351. +
  1352. +/* Used to test results of stat call to see if it is a directory */
  1353. +#define JIKES_STAT_S_IFDIR S_IFDIR
  1354. +
  1355. +/* A string to indicate the release of jikes: Version 1.11 1/10/2000 */
  1356. +#define JIKES_VERSION_STRING "Version 1.12 8/1/2000"
  1357. +
  1358. +/* Name of package */
  1359. +#define PACKAGE "jikes"
  1360. +
  1361. +/* used to seperate elements on the PATH */
  1362. +#define PATH_SEPARATOR ';'
  1363. +
  1364. +/* Define if you have the ANSI C header files. */
  1365. +#define STDC_HEADERS 1
  1366. +
  1367. +/* quick hack to use UNIX file system, fixme */
  1368. +#define UNIX_FILE_SYSTEM 
  1369. +
  1370. +/* Version number of package */
  1371. +#define VERSION "1.12"
  1372. +
  1373. +/* quick hack to use Win32 file system, fixme */
  1374. +/* #undef WIN32_FILE_SYSTEM */
  1375. +
  1376. +/* Define if your processor stores words with the most significant byte first
  1377. +   (like Motorola and SPARC, unlike Intel and VAX). */
  1378. +/* #undef WORDS_BIGENDIAN */
  1379. diff -u -r -N jikes-1.12.orig/amiga/src/stamp-h jikes-1.12/amiga/src/stamp-h
  1380. --- jikes-1.12.orig/amiga/src/stamp-h    Thu Jan  1 02:00:00 1970
  1381. +++ jikes-1.12/amiga/src/stamp-h    Sun Sep  3 15:35:07 2000
  1382. @@ -0,0 +1 @@
  1383. +timestamp
  1384. diff -u -r -N jikes-1.12.orig/configure jikes-1.12/configure
  1385. --- jikes-1.12.orig/configure    Mon Jul 31 10:56:11 2000
  1386. +++ jikes-1.12/configure    Sun Sep  3 15:07:10 2000
  1387. @@ -2765,7 +2765,7 @@
  1388.  echo "${ECHO_T}$ac_cv_lib_icu_uc_u_getVersion" >&6
  1389.  if test $ac_cv_lib_icu_uc_u_getVersion = yes; then
  1390.    cat >>confdefs.h <<EOF
  1391. -#define HAVE_LIBICU_UC 1
  1392. +#define HAVE_LIB_ICU_UC 1
  1393.  EOF
  1394.  
  1395.    LIBS="-licu-uc $LIBS"
  1396. diff -u -r -N jikes-1.12.orig/src/amiga.c jikes-1.12/src/amiga.c
  1397. --- jikes-1.12.orig/src/amiga.c    Thu Jan  1 02:00:00 1970
  1398. +++ jikes-1.12/src/amiga.c    Sun Sep  3 14:55:50 2000
  1399. @@ -0,0 +1,132 @@
  1400. +#ifdef stat
  1401. +#undef stat
  1402. +#endif
  1403. +#ifdef fopen
  1404. +#undef fopen
  1405. +#endif
  1406. +#ifdef opendir
  1407. +#undef opendir
  1408. +#endif
  1409. +#ifdef mkdir
  1410. +#undef mkdir
  1411. +#endif
  1412. +
  1413. +#include <stdio.h>
  1414. +#include <sys/types.h>
  1415. +#include <sys/stat.h>
  1416. +#include <sys/param.h>
  1417. +#include <string.h>
  1418. +#include <unistd.h>
  1419. +#include <dirent.h>
  1420. +
  1421. +__BEGIN_DECLS
  1422. +/**
  1423. + * Provide wrappers for the stat, fopen, and opendir functions that massage
  1424. + * the file names given to them as arguments so that UNIX "." and ".."
  1425. + * path names are translated to their AmigaOS equivalents. This is done so
  1426. + * that no intervention is done in terms of file semantics to the jikes
  1427. + * source.
  1428. + */
  1429. +static char buf[MAXPATHLEN+1];
  1430. +static char cwd[MAXPATHLEN+1];
  1431. +static char pathComponent[MAXPATHLEN+1];
  1432. +
  1433. +static void ix_out(char *s)
  1434. +{
  1435. +  int ptr;
  1436. +
  1437. +  if (strcmp(s, ".") == 0) {
  1438. +    if (buf[0] == '\0') {
  1439. +      strcat(buf, cwd);
  1440. +    }else{
  1441. +      ptr = strlen(buf)-1;
  1442. +      if (buf[ptr] == '/') {
  1443. +        buf[ptr] = '\0';
  1444. +      }
  1445. +    }
  1446. +  }else{
  1447. +    if (strcmp(s, "..") == 0) {
  1448. +      strcat(buf, "/");
  1449. +    }else{
  1450. +      strcat(buf, s);
  1451. +    }
  1452. +  }
  1453. +}
  1454. +
  1455. +static char *
  1456. +ix_path(const char *path)
  1457. +{
  1458. +  int len;
  1459. +  char sep[2];
  1460. +  int appendSep, skipNext = 0;
  1461. +  int i, j;
  1462. +
  1463. +  buf[0] = '\0';
  1464. +  cwd[0] = '\0';
  1465. +  pathComponent[0] = '\0';
  1466. +  sep[1] = '\0';
  1467. +  getcwd(cwd, sizeof(cwd));
  1468. +  len = strlen(path);
  1469. +
  1470. +  for (i=0, j=0; i<len; i++) {
  1471. +    if (path[i] == '/' || path[i] == ':') {
  1472. +      pathComponent[j] = '\0';
  1473. +      if (j != 0) {
  1474. +        ix_out(pathComponent);
  1475. +        if (buf[0] != '\0' &&
  1476. +        ((strcmp(pathComponent, ".") == 0 && buf[strlen(buf)-1] == ':') ||
  1477. +         (strcmp(pathComponent, "..") == 0 && buf[strlen(buf)-1] == '/'))){
  1478. +      appendSep = 0;
  1479. +    }else{
  1480. +      appendSep = 1;
  1481. +    }
  1482. +        j = 0;
  1483. +        pathComponent[0] = '\0';
  1484. +      }
  1485. +      sep[0] = path[i];
  1486. +      if (appendSep && !skipNext) {
  1487. +        strcat(buf, sep);
  1488. +      }
  1489. +      /* Constructs of the type FOO:/bar are *probably* caused by appending
  1490. +       * UNIX-style a path to a directory, so we skip the bogus "/".
  1491. +       */
  1492. +      if (path[i] == ':' && path[i+1] == '/') {
  1493. +        skipNext = 1;
  1494. +      }else{
  1495. +        skipNext = 0;
  1496. +      }
  1497. +    }else{
  1498. +      pathComponent[j++] = path[i];
  1499. +    }
  1500. +  }
  1501. +  if (j > 0) {
  1502. +    pathComponent[j] = '\0';
  1503. +    ix_out(pathComponent);
  1504. +  }
  1505. +  return buf;
  1506. +}
  1507. +
  1508. +int
  1509. +mystat(const char *path, struct stat *sb)
  1510. +{
  1511. +  return stat(ix_path(path), sb);
  1512. +}
  1513. +
  1514. +FILE *
  1515. +myfopen(char *path, char *mode)
  1516. +{
  1517. +  return fopen(ix_path(path), mode);
  1518. +}
  1519. +
  1520. +DIR
  1521. +*myopendir(const char *path)
  1522. +{
  1523. +  return opendir(ix_path(path));
  1524. +}
  1525. +
  1526. +int
  1527. +mymkdir(const char *path, mode_t mode)
  1528. +{
  1529. +  return mkdir(ix_path(path), mode);
  1530. +}
  1531. +__END_DECLS
  1532. diff -u -r -N jikes-1.12.orig/src/config.h.in jikes-1.12/src/config.h.in
  1533. --- jikes-1.12.orig/src/config.h.in    Sun Jul 23 00:05:45 2000
  1534. +++ jikes-1.12/src/config.h.in    Sun Sep  3 15:07:41 2000
  1535. @@ -53,7 +53,7 @@
  1536.  #undef HAVE_LIBICONV
  1537.  
  1538.  /* Define if you have the `icu-uc' library (-licu-uc). */
  1539. -#undef HAVE_LIBICU_UC
  1540. +#undef HAVE_LIB_ICU_UC
  1541.  
  1542.  /* Define if you have the `m' library (-lm). */
  1543.  #undef HAVE_LIBM
  1544. diff -u -r -N jikes-1.12.orig/src/control.cpp jikes-1.12/src/control.cpp
  1545. --- jikes-1.12.orig/src/control.cpp    Tue Jul 25 14:32:32 2000
  1546. +++ jikes-1.12/src/control.cpp    Sun Sep  3 14:57:44 2000
  1547. @@ -640,7 +640,7 @@
  1548.  // When searching for a directory in the system, if it is not already present in the hierarchy
  1549.  // insert it and attempt to read it from the system...
  1550.  //
  1551. -#ifdef UNIX_FILE_SYSTEM
  1552. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1553.      DirectorySymbol *Control::ProcessSubdirectories(wchar_t *source_name, int source_name_length)
  1554.      {
  1555.          int name_length = (source_name_length < 0 ? 0 : source_name_length);
  1556. @@ -954,7 +954,7 @@
  1557.      //
  1558.      DirectorySymbol *directory_symbol;
  1559.      NameSymbol *file_name_symbol;
  1560. -#ifdef UNIX_FILE_SYSTEM
  1561. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1562.      int len;
  1563.      for (len = name_length - 1; len >= 0 && name[len] != U_SLASH; len--)
  1564.          ;
  1565. diff -u -r -N jikes-1.12.orig/src/depend.cpp jikes-1.12/src/depend.cpp
  1566. --- jikes-1.12.orig/src/depend.cpp    Wed Jul 26 10:48:59 2000
  1567. +++ jikes-1.12/src/depend.cpp    Sun Sep  3 15:41:55 2000
  1568. @@ -324,7 +324,7 @@
  1569.          buf = new char[length + FileSymbol::class_suffix_length + dir_length + 2];
  1570.          strcpy(buf, dir_name);
  1571.  
  1572. -#ifdef UNIX_FILE_SYSTEM
  1573. +#if defined(UNIX_FILE_SYSTEM) || AMIGAOS_FILE_SYSTEM
  1574.          buf[dir_length] = (char)U_SLASH;
  1575.  #elif defined(WIN32_FILE_SYSTEM)
  1576.          buf[dir_length] = (char)U_BACKSLASH;
  1577. diff -u -r -N jikes-1.12.orig/src/jikes.cpp jikes-1.12/src/jikes.cpp
  1578. --- jikes-1.12.orig/src/jikes.cpp    Sun Jul 30 01:07:55 2000
  1579. +++ jikes-1.12/src/jikes.cpp    Sun Sep  3 14:57:44 2000
  1580. @@ -21,6 +21,15 @@
  1581.  using namespace Jikes;
  1582.  #endif
  1583.  
  1584. +#ifdef __amigaos__
  1585. +// Jikes definitely needs more than the default 4K stack. Without ICU support,
  1586. +// about 8K seem to be enough. With ICU support stack requirements rise to
  1587. +// about 26K, so we round this value up to 30K to play it safe.
  1588. +extern "C" {
  1589. +  unsigned long __stack = 30000;
  1590. +}
  1591. +#endif
  1592. +
  1593.  int main(int argc, char *argv[])
  1594.  {
  1595.      // Here we are creating instance of default API
  1596. diff -u -r -N jikes-1.12.orig/src/jikesapi.cpp jikes-1.12/src/jikesapi.cpp
  1597. --- jikes-1.12.orig/src/jikesapi.cpp    Sun Jul 30 01:07:55 2000
  1598. +++ jikes-1.12/src/jikesapi.cpp    Sun Sep  3 15:05:46 2000
  1599. @@ -64,7 +64,7 @@
  1600.      
  1601.      bool      valid;
  1602.  // FIXME: need to clean this up, why is this not wrapped in a platform.h function?
  1603. -#ifdef UNIX_FILE_SYSTEM
  1604. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1605.      FILE     *file;
  1606.  #elif defined(WIN32_FILE_SYSTEM)
  1607.      HANDLE    file;
  1608. @@ -258,7 +258,7 @@
  1609.  }
  1610.  
  1611.  
  1612. -#ifdef UNIX_FILE_SYSTEM
  1613. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1614.  // The following methods define UNIX specific methods for
  1615.  // reading files from the file system. WINDOWS method follow in
  1616.  // the subsequent section.
  1617. diff -u -r -N jikes-1.12.orig/src/option.cpp jikes-1.12/src/option.cpp
  1618. --- jikes-1.12.orig/src/option.cpp    Mon Jul 31 01:56:31 2000
  1619. +++ jikes-1.12/src/option.cpp    Sun Sep  3 15:43:28 2000
  1620. @@ -280,7 +280,7 @@
  1621.              else if (strcmp(arguments.argv[i], "-d") == 0 && ((i + 1) < arguments.argc))
  1622.              {
  1623.                  ++i;
  1624. -#if defined(UNIX_FILE_SYSTEM)
  1625. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1626.                  int length = strlen(arguments.argv[i]);
  1627.                  directory = new char[length + 1];
  1628.                  strcpy(directory, arguments.argv[i]);
  1629. diff -u -r -N jikes-1.12.orig/src/option.h jikes-1.12/src/option.h
  1630. --- jikes-1.12.orig/src/option.h    Tue Jul 25 14:32:33 2000
  1631. +++ jikes-1.12/src/option.h    Sun Sep  3 15:18:48 2000
  1632. @@ -19,8 +19,17 @@
  1633.  //FIXME: include stuff
  1634.  //#include <ctype.h>
  1635.  
  1636. +#ifdef AMIGAOS_FILE_SYSTEM
  1637. +#include <unistd.h>
  1638. +#include <sys/param.h>
  1639. +#endif
  1640. +
  1641.  #if defined(HAVE_LIB_ICU_UC)
  1642. +#ifdef ICU131
  1643. +# include <ucnv.h>
  1644. +#else
  1645.  # include <unicode/ucnv.h>
  1646. +#endif
  1647.  #elif defined(HAVE_ICONV_H)
  1648.  # include <iconv.h>
  1649.  #endif
  1650. @@ -109,6 +118,13 @@
  1651.      char *GetMainCurrentDirectory()
  1652.      {
  1653.          return current_directory[main_disk];
  1654. +    }
  1655. +#elif defined(AMIGAOS_FILE_SYSTEM)
  1656. +public:
  1657. +    char *GetMainCurrentDirectory()
  1658. +    {
  1659. +    static char buf[MAXPATHLEN+1];
  1660. +    return getcwd(buf, sizeof(buf));
  1661.      }
  1662.  
  1663.      void SaveCurrentDirectoryOnDisk(char c);
  1664. diff -u -r -N jikes-1.12.orig/src/stream.cpp jikes-1.12/src/stream.cpp
  1665. --- jikes-1.12.orig/src/stream.cpp    Tue Jul 25 14:32:33 2000
  1666. +++ jikes-1.12/src/stream.cpp    Sun Sep  3 19:36:42 2000
  1667. @@ -20,7 +20,11 @@
  1668.  #endif
  1669.  
  1670.  #if defined(HAVE_LIB_ICU_UC)
  1671. +#ifdef ICU131
  1672. +# include <ucnv.h>
  1673. +#else
  1674.  # include <unicode/ucnv.h>
  1675. +#endif
  1676.  #elif defined(HAVE_ICONV_H)
  1677.  # include <iconv.h>
  1678.  # include <errno.h>
  1679. @@ -876,7 +880,11 @@
  1680.                      if(U_FAILURE(err))
  1681.                      {
  1682.                          fprintf(stderr,"Conversion error: %s at byte %d\n", 
  1683. +#ifdef ICU131
  1684. +                errorName(err),
  1685. +#else
  1686.                                  u_errorName(err),
  1687. +#endif
  1688.                                  int(before-buffer)
  1689.                          );
  1690.                          break;
  1691. diff -u -r -N jikes-1.12.orig/src/symbol.cpp jikes-1.12/src/symbol.cpp
  1692. --- jikes-1.12.orig/src/symbol.cpp    Tue Jul 25 14:32:33 2000
  1693. +++ jikes-1.12/src/symbol.cpp    Sun Sep  3 15:03:30 2000
  1694. @@ -762,7 +762,7 @@
  1695.          entries = new DirectoryTable();
  1696.      
  1697.  //FIXME: these need to go into platform.cpp
  1698. -#ifdef UNIX_FILE_SYSTEM
  1699. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1700.          DIR *directory = opendir(this -> DirectoryName());
  1701.          if (directory)
  1702.          {
  1703. diff -u -r -N jikes-1.12.orig/src/symbol.h jikes-1.12/src/symbol.h
  1704. --- jikes-1.12.orig/src/symbol.h    Sun Jul 30 01:07:56 2000
  1705. +++ jikes-1.12/src/symbol.h    Sun Sep  3 14:57:47 2000
  1706. @@ -2305,6 +2305,19 @@
  1707.      {
  1708.          return Case::StringSegmentEqual(suffix, java_suffix, java_suffix_length);
  1709.      }
  1710. +#elif defined(AMIGAOS_FILE_SYSTEM)
  1711. +    // Do not use StringSegmentEqual() as in the WIN32 case, because that
  1712. +    // function may check beyond the end of the string, thus possibly causing
  1713. +    // enforcer hits.
  1714. +    inline bool FileSymbol::IsClassSuffix(char *suffix)
  1715. +    {
  1716. +        return (strncasecmp(suffix, class_suffix, class_suffix_length) == 0);
  1717. +    }
  1718. +
  1719. +    inline bool  FileSymbol::IsJavaSuffix(char *suffix)
  1720. +    {
  1721. +        return (strncasecmp(suffix, java_suffix, java_suffix_length) == 0);
  1722. +    }
  1723.  #endif
  1724.  
  1725.  #ifdef    HAVE_NAMESPACES
  1726. diff -u -r -N jikes-1.12.orig/src/system.cpp jikes-1.12/src/system.cpp
  1727. --- jikes-1.12.orig/src/system.cpp    Thu Jul 27 23:27:07 2000
  1728. +++ jikes-1.12/src/system.cpp    Sun Sep  3 14:57:47 2000
  1729. @@ -431,7 +431,7 @@
  1730.  
  1731.  void Control::ProcessPath()
  1732.  {
  1733. -#ifdef UNIX_FILE_SYSTEM
  1734. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1735.      NameSymbol *dot_path_name_symbol = dot_name_symbol;
  1736.  
  1737.      //
  1738. @@ -502,7 +502,7 @@
  1739.                  path_name[i] = head[i];
  1740.              path_name[path_name_length] = U_NULL;
  1741.  
  1742. -#ifdef UNIX_FILE_SYSTEM
  1743. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1744.  
  1745.              input_name = path_name;
  1746.  
  1747. diff -u -r -N jikes-1.12.orig/src/unzip.cpp jikes-1.12/src/unzip.cpp
  1748. --- jikes-1.12.orig/src/unzip.cpp    Tue Jul 25 14:32:34 2000
  1749. +++ jikes-1.12/src/unzip.cpp    Sun Sep  3 14:57:48 2000
  1750. @@ -48,7 +48,7 @@
  1751.  struct huft *Unzip::global_fixed_td;    /* inflate static */
  1752.  int Unzip::global_fixed_bl,
  1753.      Unzip::global_fixed_bd;
  1754. -#ifdef UNIX_FILE_SYSTEM
  1755. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1756.      FILE *Unzip::global_file; /* file pointer for zip file */
  1757.  #elif defined(WIN32_FILE_SYSTEM)
  1758.      char *Unzip::global_file; /* file pointer for zip file */
  1759. @@ -753,7 +753,7 @@
  1760.    return 0;
  1761.  }
  1762.  
  1763. -#ifdef UNIX_FILE_SYSTEM
  1764. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1765.      int Unzip::unzip8(FILE * zipfile, char *buffer)
  1766.  #elif defined(WIN32_FILE_SYSTEM)
  1767.      int Unzip::unzip8(char *zipfile, char *buffer)
  1768. @@ -794,7 +794,7 @@
  1769.  }
  1770.  
  1771.  
  1772. -#ifdef UNIX_FILE_SYSTEM
  1773. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1774.      int Unzip::UncompressFile0(FILE *zipfile, char *buffer, long buffer_length)
  1775.      {
  1776.          fread(buffer, sizeof(char), buffer_length, zipfile);
  1777. diff -u -r -N jikes-1.12.orig/src/unzip.h jikes-1.12/src/unzip.h
  1778. --- jikes-1.12.orig/src/unzip.h    Tue Jul 25 14:32:34 2000
  1779. +++ jikes-1.12/src/unzip.h    Sun Sep  3 14:57:48 2000
  1780. @@ -181,7 +181,7 @@
  1781.  
  1782.  #ifndef NEXTBYTE        /* default is to simply get a byte from stdin */
  1783.  /* default for   define NEXTBYTE is  getchar() */
  1784. -#ifdef UNIX_FILE_SYSTEM
  1785. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1786.      #define NEXTBYTE getc(global_file)
  1787.  #elif defined(WIN32_FILE_SYSTEM)
  1788.      #define NEXTBYTE ((u1) (*global_file++))
  1789. @@ -284,7 +284,7 @@
  1790.      static struct huft *global_fixed_td;    /* inflate static */
  1791.      static int global_fixed_bl,
  1792.                 global_fixed_bd;
  1793. -#ifdef UNIX_FILE_SYSTEM
  1794. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1795.      static FILE *global_file; /* file pointer for zip file */
  1796.  #elif defined(WIN32_FILE_SYSTEM)
  1797.      static char *global_file;
  1798. @@ -346,7 +346,7 @@
  1799.      static int inflate_block(int *);
  1800.      static int inflate_free();
  1801.  
  1802. -#ifdef UNIX_FILE_SYSTEM
  1803. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1804.      static int unzip8(FILE * zipfile, char *buffer);
  1805.  
  1806.      static int UncompressFile0(FILE *, char *, long);
  1807. diff -u -r -N jikes-1.12.orig/src/zip.cpp jikes-1.12/src/zip.cpp
  1808. --- jikes-1.12.orig/src/zip.cpp    Tue Jul 25 14:32:34 2000
  1809. +++ jikes-1.12/src/zip.cpp    Sun Sep  3 14:57:48 2000
  1810. @@ -21,7 +21,7 @@
  1811.  // The ZipFile methods follow
  1812.  //
  1813.  //************************************************************************************************
  1814. -#ifdef UNIX_FILE_SYSTEM
  1815. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1816.      int (*ZipFile::uncompress_file[10]) (FILE *, char *, long) =
  1817.      {
  1818.          UncompressFile0,
  1819. @@ -72,6 +72,7 @@
  1820.      {
  1821.          file_buffer += length;
  1822.      }
  1823. +
  1824.  #endif
  1825.  
  1826.  
  1827. @@ -101,7 +102,7 @@
  1828.  
  1829.      assert(zip -> IsValid());
  1830.  
  1831. -#ifdef UNIX_FILE_SYSTEM
  1832. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1833.      zipfile = zip -> zipfile;
  1834.      int rc = fseek(zipfile, file_symbol -> offset, SEEK_SET);
  1835.  
  1836. @@ -124,7 +125,7 @@
  1837.      u2 extra_field_length                    = GetU2();
  1838.      Skip(filename_length + extra_field_length);
  1839.  
  1840. -#ifdef UNIX_FILE_SYSTEM
  1841. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1842.      this -> buffer = new char[file_symbol -> uncompressed_size];
  1843.      if (! uncompress_file[compression_method < 9 ? compression_method : 9](zipfile, this -> buffer, file_symbol -> uncompressed_size))
  1844.      {
  1845. @@ -320,7 +321,7 @@
  1846.                                                    magic(0),
  1847.                                                    zipbuffer(NULL)
  1848.  {
  1849. -#ifdef UNIX_FILE_SYSTEM
  1850. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1851.      zipfile = ::SystemFopen(zipfile_name, "rb");
  1852.      if (zipfile)
  1853.      {
  1854. @@ -356,7 +357,7 @@
  1855.  
  1856.  Zip::~Zip()
  1857.  {
  1858. -#ifdef UNIX_FILE_SYSTEM
  1859. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1860.      delete [] zipbuffer;
  1861.      if (zipfile)
  1862.          fclose(zipfile);
  1863. @@ -393,7 +394,7 @@
  1864.                   // u2 total_number_of_entries_in_the_  = GetU2();
  1865.          u4 central_directory_size                       = GetU4();
  1866.  
  1867. -#ifdef UNIX_FILE_SYSTEM
  1868. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1869.          int rc = fseek(zipfile, -((int) central_directory_size + 22), SEEK_END);
  1870.  
  1871.          assert(rc == 0);
  1872. diff -u -r -N jikes-1.12.orig/src/zip.h jikes-1.12/src/zip.h
  1873. --- jikes-1.12.orig/src/zip.h    Tue Jul 25 14:32:34 2000
  1874. +++ jikes-1.12/src/zip.h    Sun Sep  3 14:57:48 2000
  1875. @@ -49,7 +49,7 @@
  1876.      u4 GetU4();
  1877.      void Skip(u4 length);
  1878.  
  1879. -#ifdef UNIX_FILE_SYSTEM
  1880. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1881.          FILE *zipfile;
  1882.          static int (*uncompress_file[10]) (FILE *, char *, long);
  1883.      public:
  1884. @@ -96,7 +96,7 @@
  1885.      DirectorySymbol *ProcessSubdirectoryEntries(DirectorySymbol *, char *, int);
  1886.      void ProcessDirectoryEntry();
  1887.  
  1888. -#ifdef UNIX_FILE_SYSTEM
  1889. +#if defined(UNIX_FILE_SYSTEM) || defined(AMIGAOS_FILE_SYSTEM)
  1890.      FILE *zipfile;
  1891.  #elif defined(WIN32_FILE_SYSTEM)
  1892.      HANDLE zipfile, mapfile;
  1893.